package cn.org.mrliu.ssm.common.test;

import javax.annotation.Resource;

import org.junit.Before;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.setup.MockMvcBuilders;
import org.springframework.web.context.WebApplicationContext;

public class ControllerTestSupport extends BaseSpringTestSupport{

	@Resource
	protected WebApplicationContext context;

	protected MockMvc mockMvc;

	@Before
	public void setup() throws Exception {
		this.mockMvc = MockMvcBuilders.webAppContextSetup(this.context).build();
	}

}
